

#include <SoftwareSerial.h>          
int i;
SoftwareSerial softwareSerial1(3, 6);

void setup()
{
  Serial.begin(9600);   
   softwareSerial1.begin(115200);

i=0;
  delay(1000); //延时1000ms
}
 
void loop ()
{

delay(4000);
 softwareSerial1.write(i);
  Serial.println(i);
  i++;
    

}


 
